<?php
/*
Description: This file is used to change login paassword.
*/
#########IncludeFiles####################################################################################
include_once '../inc/config.php';
include_once("../inc/bootstrape.php");
require_once _SITE_PATH_.'classes/Vendor/Vendor.php';
require_once _SITE_PATH_.'classes/Honeymoon/Honeymoon.php';
require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';

//    CHANGE PASSWORD    CODE    //           
if( $_POST['submit']=='Submit')
{    
    $parms['theme'] = $_POST['theme'];
    $parms['description'] = $_POST['description'];
    $parms['added'] = date('Y-m-d');
    if( CommonUtility::insertData($parms, 'honeymoon_theme_master')) {        
        header("Location: honeymoon_theme_mng.php?msg=1008");            
        exit;
    }
    $err = 1009;    
}

//    END CHANGE PASSWORD CODE    //
$errMsg = $err;
$_tplName = 'honeymoon-package/honeymoon_theme_add.tpl';
$_title = 'Add Package Theme';
require_once _ADMIN_TPL_MAIN_;
?>